package com.caow.androidcomposebase

import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Box
import androidx.compose.material3.Text
import com.alibaba.android.arouter.facade.annotation.Route
import com.caow.androidcomposebase.router.ROUTER_SECOND
import com.caow.androidcomposebase.ui.theme.AndroidComposeBaseTheme
import com.caow.composebase.BaseActivity
import com.caow.composebase.BaseViewModel

@Route(path = ROUTER_SECOND)
class SecondActivity : BaseActivity<BaseViewModel>() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        setContent {
            AndroidComposeBaseTheme {
                Box {
                    Text(text = "Second activity")
                }
            }
        }

    }
}